import request from '@/utils/request'

export function getAllList() {
  return request({
    url: '/api/begoodat',
    method: 'get'
  })
}

export function Add(obj) {
  return request({
    url: '/api/begoodat',
    method: 'post',
    data: obj
  })
}

export function remove(id) {
  return request({
    url: '/api/begoodat/' + id,
    method: 'delete'
  })
}
